package com.xiayong.entity;

import java.io.Serializable;

/**
 * City Entity.
 * 
 * @author XiaYong
 * 
 */
public class City implements Serializable {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -789973231270925207L;

    /**
     * ID.
     */
    private Integer id;
    /**
     * Name.
     */
    private String name;
    /**
     * Country Code.
     */
    private String countryCode;
    /**
     * District.
     */
    private String district;
    /**
     * Population.
     */
    private Integer population;
    /**
     * 
     */
    public City() {
        super();
    }
    /**
     * @param id
     * @param name
     * @param countryCode
     * @param district
     * @param population
     */
    public City(final Integer id, final String name, final String countryCode, final String district,
            final Integer population) {
        super();
        this.id = id;
        this.name = name;
        this.countryCode = countryCode;
        this.district = district;
        this.population = population;
    }
    /**
     * @return the countryCode
     */
    public final String getCountryCode() {
        return this.countryCode;
    }
    /**
     * @return the district
     */
    public final String getDistrict() {
        return this.district;
    }
    /**
     * @return the id
     */
    public final Integer getId() {
        return this.id;
    }
    /**
     * @return the name
     */
    public final String getName() {
        return this.name;
    }
    /**
     * @return the population
     */
    public final Integer getPopulation() {
        return this.population;
    }
    /**
     * @param countryCode
     *            the countryCode to set
     */
    public final void setCountryCode(final String countryCode) {
        this.countryCode = countryCode;
    }
    /**
     * @param district
     *            the district to set
     */
    public final void setDistrict(final String district) {
        this.district = district;
    }
    /**
     * @param id
     *            the id to set
     */
    public final void setId(final Integer id) {
        this.id = id;
    }
    /**
     * @param name
     *            the name to set
     */
    public final void setName(final String name) {
        this.name = name;
    }
    /**
     * @param population
     *            the population to set
     */
    public final void setPopulation(final Integer population) {
        this.population = population;
    }
}
